package cn.blog.entity;

import java.io.Serializable;
import java.util.Date;

public class Blog implements Serializable {
  /**主键id*/
  private Integer id;
  /**标题*/
  private String title;
  /**摘要*/
  private String summary;
  /**发表时间*/
  private Date releaseDate;
  /**点击数*/
  private Integer clickHit;
  /**评论数*/
  private Integer replyHit;
  /**内容*/
  private String content;
  /**关键字*/
  private String keyWord;
  /**所属博客类型*/
  private Blogtype blogtype;
  /**纯文本格式的内容*/
  private String contentNoTag;
  /**发表时间*/
  private String releaseDateStr;

  public Blog() {
  }

  public Blog(Integer id, String title, String summary, Date releaseDate, Integer clickHit, Integer replyHit, String content, String keyWord, Blogtype blogtype, String contentNoTag, String releaseDateStr) {
    this.id = id;
    this.title = title;
    this.summary = summary;
    this.releaseDate = releaseDate;
    this.clickHit = clickHit;
    this.replyHit = replyHit;
    this.content = content;
    this.keyWord = keyWord;
    this.blogtype = blogtype;
    this.contentNoTag = contentNoTag;
    this.releaseDateStr = releaseDateStr;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public String getSummary() {
    return summary;
  }

  public void setSummary(String summary) {
    this.summary = summary;
  }

  public Date getReleaseDate() {
    return releaseDate;
  }

  public void setReleaseDate(Date releaseDate) {
    this.releaseDate = releaseDate;
  }

  public Integer getClickHit() {
    return clickHit;
  }

  public void setClickHit(Integer clickHit) {
    this.clickHit = clickHit;
  }

  public Integer getReplyHit() {
    return replyHit;
  }

  public void setReplyHit(Integer replyHit) {
    this.replyHit = replyHit;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getKeyWord() {
    return keyWord;
  }

  public void setKeyWord(String keyWord) {
    this.keyWord = keyWord;
  }

  public Blogtype getBlogtype() {
    return blogtype;
  }

  public void setBlogtype(Blogtype blogtype) {
    this.blogtype = blogtype;
  }

  public String getContentNoTag() {
    return contentNoTag;
  }

  public void setContentNoTag(String contentNoTag) {
    this.contentNoTag = contentNoTag;
  }

  public String getReleaseDateStr() {
    return releaseDateStr;
  }

  public void setReleaseDateStr(String releaseDateStr) {
    this.releaseDateStr = releaseDateStr;
  }
}